package file;

import java.io.File;

/**
 * 创建目录
 */
public class MKDirDemo {
    public static void main(String[] args) {
        File dir2=new File("D:/lllm/lo");

        File dir=new File("./demo");
        if(dir.exists()){
            System.out.println("目录已存在");
        }else {
            //dir.mkdir();
            dir2.mkdir();
            System.out.println("目录已粗昂见");
        }

    }
}
